package org.stwy.custom;

import org.springframework.data.jpa.repository.Query;

import com.rap.common.persistence.IBaseDAO;

/**
 * 物业 DAO类
 */
/**
*版权信息 (c) RAP 保留所有权利.
*@author Rap.Codegen
*@Team RAP Team
*@Date 2015-4-4 17:05:42
*<p></p>
*
*@参与人：Rap.Codegen
*/
 
public interface CustomDAO extends IBaseDAO<CustomEntity, String> {
	
	@Query(" select max(a.theCode) from CustomEntity a")
	Long getLastCode();
}
